import { getData } from '@/axios'

// 获取客户列表
export const GetCustList = (params) =>
	getData(`//{web}/BetaCS.BackGateway/cust/list`, params, 'get')

// 获取客户详情
export const GetCustDetail = (params) =>
	getData(`//{web}/BetaCS.BackGateway/cust/detail`, params, 'get')

// 获取上次认证成功手机号
export const GetLatestPhone = (params) =>
	getData(`//{web}/BetaCS.BackGateway/cust/latest/auth/phone`, params, 'get')

// 获取短信验证码
export const VerificationCode = (params) =>
	getData(`//{web}/BetaCS.BackGateway/verification/code`, params, 'get')

// 客户认证
export const CustAuth = (params) => getData(`//{web}/BetaCS.BackGateway/cust/auth`, params, 'post')
